<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%String path=request.getContextPath(); %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<jsp:include page="import.jsp"/>
<title>登录</title>
 
<style type="text/css">
/*
			 * 背景 颜色FFFAE8  F6F6F6
			 */
body {
	background-color: #F6F6F6;
 
 
	color: #806767;
}

.containerdiv {
	width: 100%;
	height: 100%;
	margin: 0 auto;
}
</style>
<script type="text/javascript">
	 
	window.onload = function() {
		 
		 <%
			String loginTag = (String)request.getAttribute("loginTag");
			if(loginTag=="error"){
		%>
		/* 显示提示信息 */
		 
		var spanText = document.getElementById("loginSpan");
		spanText.innerHTML="";
		spanText.innerHTML = "用户名或密码错误";
		
 		<%}%>

	};
 
</script>
</head>
<body>
	<div style="text-align: center;">

		<nav class="navbar navbar-default" role="navigation"
			style="background-color: #FFFFFF;">

			<ul class="nav navbar-nav navbar navbar-default navbar-fixed-top"
				style="background-color: #FFFFFF;">
				<li><img style="padding-top: 8px; padding-left: 28px;"
					alt="140x140" src="<%=path %>/img/logo.jpg"
					class="img-rounded" /></li>
				<li><img style="padding-top: 2px; padding-left: 28px;"
					alt="140x140" src="<%=path %>/img/RMS.png"
					class="img-rounded" /></li>

			</ul>

		</nav>



	 
<div style="width: 100%;height:800px;margin: 0 auto;">
<img alt="" src="<%=path %>/img/backgroundimg.jpg" width=100% height=100% style="z-index: -1;">


<div id="myModal" class=" "
			style="width: 500px; margin: 0 auto;position: absolute;top:300px; left:30%;">
			
			<div class=" " >

				<h4 class="modal-title" id="myModalLabel"
					style="margin-left: 100px;">人才管理系统</h4>
			</div>
			<form action="<%=path %>/login" method="post">
			
			<div class="modal-body input-group">
					<label class="form-control glyphicon glyphicon-user"
						style="width: 50px; margin-left: 110px; margin-top: -1px;">
					</label> <input id="username" type="text" name="name" class="form-control"
						style="width: 300px; border-top-right-radius: 4px; border-bottom-right-radius: 4px;"
						placeholder="输入用户名" />
					<br /> <br /> <br /> 
					<label class="form-control glyphicon glyphicon-lock" style="width: 50px; margin-left: 110px; margin-top: -1px; border-top-left-radius: 4px; border-bottom-left-radius: 4px;">
					</label> <input id="password" type="password" name="password" class="form-control"
						style="width: 300px;" placeholder="输入密码" />
			</div>
			<div style="margin-left:130px;margin-bottom:10px;color:red;">
				<span id="loginSpan"></span>
			</div>
			<button type="submit" class="btn btn-default" style="margin-left: 120px;">登录</button>
					 
				 
			</form>

		</div>

<!-- 图片上一个div -->
</div>

 
	</div>



</body>
</html>